Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@almahmudbd
almahmudbd / free-ai-api.md
Last active July 27, 2026 22:13
Free Ai Api keys and credits for agentic coding.

Free AI API Keys for Agentic Coding

Usage Tips

  • Do not subscribe to every service at once. Most free credits expire quickly. Test them one by one and move to the next when your current credits run out.
  • Register, verify your account, and claim your credits. Follow each platform’s documentation to connect your coding tools.
  • Keep your API keys private. Do not share them publicly. (save or star this gist for future update)

Top Sites in This Genre

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@jduerr
jduerr / gnome-transparent-sidebar.css
Last active July 27, 2026 22:04 — forked from albertgoss/gnome-transparent-sidebar.css
Make Gnome applications sidebar semi-transparent, and add blur with Blur My Shell Extension if you want to
/* Mohammad Mahdi Tayebi
*
* To apply transparent sidebar. copy this file into ~/.config/gtk-4.0/gtk.css and if
* you use adw-gtk3 theme you can add it to ~/.config/gtk-3.0/gtk.css as well
*
* Use blur my shell extension to add blur effect behind the transparent part of windows
*/
/* Transparent Sidebar */
window {
@GrayJack
GrayJack / config.txt
Last active July 27, 2026 22:04
Very complete and documented config.txt file for raspberry pi
# See /boot/overlays/README for all available options
##############################################################################
## Raspberry Pi Configuration Settings
##
## Revision 18, 2018/03/05
##
## Details taken from the eLinux wiki
## For up-to-date information please refer to wiki page.
##
## Wiki Location : http://elinux.org/RPiconfig
@YuriyGuts
YuriyGuts / link-ollama-models-to-lm-studio.py
Last active July 27, 2026 21:58
Expose Ollama models to LM Studio by symlinking its model files. Just run `python3 link-ollama-models-to-lm-studio.py`. On Windows, run it as admin.
@zerkz
zerkz / awdl-down.md
Last active July 27, 2026 21:55
Fix macOS AWDL-induced UDP loss (Moonlight frame drops)

awdl-down

macOS's AWDL interface (awdl0, used by AirDrop/AirPlay/Handoff) periodically pulls the WiFi radio off-channel. In my personal case, this causes ~12% time-based UDP downlink loss and latency spikes, regardless of bitrate or signal quality — seen as ~15% "network" frame drops in Moonlight. TCP mostly masks it, which makes it hard to diagnose.

Fix: disable the features that wake AWDL, and down awdl0 at boot via a one-shot LaunchDaemon (no resident process; it watches the first 3 minutes

@Klerith
Klerith / testing-configuration.md
Last active July 27, 2026 21:54
Configuración de Vitest + React Testing Library
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
Product Year Version Product Keys
Visual Studio 2022 2021 17.x
Professional: TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise: VHF9H-NXBBB-638P6-6JHCY-88JWH
Visual Studio 2019 2019 16.x